const Router = require('koa-router')
const app = new Router({ prefix: '/order' })
const { isslogin } = require('../middleware/index')
const { addorder, getorder, setorder } = require('../controller/order')
app.post('/add', isslogin, addorder)
app.post('/get', isslogin, getorder)
app.post('/set', isslogin, setorder)
module.exports = app